<div class="portlet">
  <div class="portlet-header">
    <h1><%=t ".title"%></h1>
  </div>
  <div class="portlet-content">

	<% form_tag my_wish_list_update_material_path, :id => "my_form"  do |f| %>
          <table>
              <%= hidden_field_tag :materials_wish_list_id, @material_wish_list.id %>
              <% @material = @material_wish_list.material %>
            <tr>
              <td> <%= label_tag :name, t('activerecord.attributes.materials_wish_list.material') %> </td>
              <td><%= render :partial => 'materials/material_info_for_list', :object => @material %></td>
            </tr>
            <tr>
              <td> <%= label_tag :name, t('activerecord.attributes.materials_wish_list.count') %> </td>
              <td> <%= text_field_tag :count, @material_wish_list.count, :size => 2 %> </td>
            </tr>
          </table>
          <div class="line-buttons">
            <%= submit_tag t('btn_update') %>
          </div>
          <div class="line-links">
            <%= link_to t('btn_back'), my_wish_lists_redirect_back_path(my_wish_lists_path) %>
          </div>
        <% end %>
  </div>

  <div class="portlet-footer">
  </div>
</div>

